extends "../duli-3/duli-3.gd"


var baseId = ""
var upText1 = "天之骑士额外赋予2层圣盾"
var upText2 = "天之骑士将作用于我方所有角色"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("每{cd}秒赋予我方全体舰载机3层<圣盾>", "天之骑士", "duli4", 8)

var p4 = 3
func upgrade():
	.upgrade()
	if upgraded == 1:
		p4 = 5

func _castCdSkill(id):
	._castCdSkill(id)
	if id == "duli4":
		duli4()

func duli4():
	for i in getAllChas(2):
		if i.isSumm or upgraded == 2:
			buff.addShengDun(i, p4)